/* Duey @ Victoria Road: Kerning City (Mapid: 103000000)
   By FightDesign
   Credits:
   -FightDesign
   -Buya
   -OdinMs v75 Skill Maxer
*/

void npc(Player @player, NPC @npc) {
        int state = npc.getState();
        if(state == 0){
                npc.addText("#eHey! I'm Duey and i'm the skill maxer! Do you want to max all your skills?");
                npc.sendYesNo();
        }
        if(state == 1){
                if(npc.getSelected() == YES){
            player.maxSkill(5000000);
			player.maxSkill(5001001); //Start of Pirate Job Skills
			player.maxSkill(5001002);
			player.maxSkill(5001003);
			player.maxSkill(5001005);
            player.maxSkill(5100000);
            player.maxSkill(5100001);
			player.maxSkill(5101002);
			player.maxSkill(5101003);
			player.maxSkill(5101004);
			player.maxSkill(5101005);
            player.maxSkill(5101006);
            player.maxSkill(5101007);
			player.maxSkill(5200000);
			player.maxSkill(5201001);
			player.maxSkill(5201002);
			player.maxSkill(5201003);
			player.maxSkill(5201004);
			player.maxSkill(5201005);
			player.maxSkill(5201006);
			player.maxSkill(5110000);
			player.maxSkill(5110001);
			player.maxSkill(5111002);
			player.maxSkill(5111004);
			player.maxSkill(5111005);
			player.maxSkill(5111006);
			player.maxSkill(5210000);
			player.maxSkill(5211001);
			player.maxSkill(5211002);
			player.maxSkill(5211004);
			player.maxSkill(5211005);
			player.maxSkill(5211006);
			player.maxSkill(5220001);
			player.maxSkill(5220002);
			player.maxSkill(5221000);
			player.maxSkill(5221003);
			player.maxSkill(5221004);
			player.maxSkill(5221006);
			player.maxSkill(5221007);
			player.maxSkill(5221008);
			player.maxSkill(5221009);
			player.maxSkill(5221010);
			player.maxSkill(5220011);
			player.maxSkill(5121000);
			player.maxSkill(5121001);
			player.maxSkill(5121002);
			player.maxSkill(5121003);
			player.maxSkill(5121004);
			player.maxSkill(5121005);
			player.maxSkill(5121007);
			player.maxSkill(5121008);
			player.maxSkill(5121009); //End of Pirate Job Skills
			player.maxSkill(8);
			player.maxSkill(1000);
			player.maxSkill(1001);
			player.maxSkill(1002);
			player.maxSkill(1003);
			player.maxSkill(1004);
			player.maxSkill(1013);
			player.maxSkill(1015);
			player.maxSkill(1121011);
			player.maxSkill(1221012);
			player.maxSkill(1321010);
			player.maxSkill(2121008);
			player.maxSkill(2221008);
			player.maxSkill(2321009);
			player.maxSkill(3121009);
			player.maxSkill(3221008);
			player.maxSkill(4121009);
			player.maxSkill(4221008); //End of max-level "1" skills
			player.maxSkill(1000002); //Start of max-level "8" skills
			player.maxSkill(3000002);
			player.maxSkill(4000001); //End of max-level "8" skills
			player.maxSkill(1000001); //Start of max-level "10" skills
			player.maxSkill(2000001); //End of max-level "10" skills
			player.maxSkill(1000000); //Start of max-level "16" skills
			player.maxSkill(2000000);
			player.maxSkill(3000000); //End of max-level "16" skills
			player.maxSkill(1001003); //Start of max-level "20" skills
			player.maxSkill(1001004);
			player.maxSkill(1001005);
			player.maxSkill(2001002);
			player.maxSkill(2001003);
			player.maxSkill(2001004);
			player.maxSkill(2001005);
			player.maxSkill(3000001);
			player.maxSkill(3001003);
			player.maxSkill(3001004);
			player.maxSkill(3001005);
			player.maxSkill(4000000);
			player.maxSkill(4001344);
			player.maxSkill(4001334);
			player.maxSkill(4001002);
			player.maxSkill(4001003);
			player.maxSkill(1101005);
			player.maxSkill(1100001); //Start of mastery's
			player.maxSkill(1100000);
			player.maxSkill(1200001);
			player.maxSkill(1200000);
			player.maxSkill(1300000);
			player.maxSkill(1300001);
			player.maxSkill(3100000);
			player.maxSkill(3200000);
			player.maxSkill(4100000);
			player.maxSkill(4200000); //End of mastery's
			player.maxSkill(4201002);
			player.maxSkill(4101003);
			player.maxSkill(3201002);
			player.maxSkill(3101002);
			player.maxSkill(1301004);
			player.maxSkill(1301005);
			player.maxSkill(1201004);
			player.maxSkill(1201005);
			player.maxSkill(1101004); //End of boosters
			player.maxSkill(1101006);
			player.maxSkill(1201006);
			player.maxSkill(1301006);
			player.maxSkill(2101001);
			player.maxSkill(2100000);
			player.maxSkill(2101003);
			player.maxSkill(2101002);
			player.maxSkill(2201001);
			player.maxSkill(2200000);
			player.maxSkill(2201003);
			player.maxSkill(2201002);
			player.maxSkill(2301004);
			player.maxSkill(2301003);
			player.maxSkill(2300000);
			player.maxSkill(2301001);
			player.maxSkill(3101003);
			player.maxSkill(3101004);
			player.maxSkill(3201003);
			player.maxSkill(3201004);
			player.maxSkill(4100002);
			player.maxSkill(4101004);
			player.maxSkill(4200001);
			player.maxSkill(4201003); //End of second-job skills and first-job
			player.maxSkill(4211005);
			player.maxSkill(4211003);
			player.maxSkill(4210000);
			player.maxSkill(4110000);
			player.maxSkill(4111001);
			player.maxSkill(4111003);
			player.maxSkill(3210000);
			player.maxSkill(3110000);
			player.maxSkill(3210001);
			player.maxSkill(3110001);
			player.maxSkill(3211002);
			player.maxSkill(3111002);
			player.maxSkill(2210000);
			player.maxSkill(2211004);
			player.maxSkill(2211005);
			player.maxSkill(2111005);
			player.maxSkill(2111004);
			player.maxSkill(2110000);
			player.maxSkill(2311001);
			player.maxSkill(2311005);
			player.maxSkill(2310000);
			player.maxSkill(1311007);
			player.maxSkill(1310000);
			player.maxSkill(1311008);
			player.maxSkill(1210001);
			player.maxSkill(1211009);
			player.maxSkill(1210000);
			player.maxSkill(1110001);
			player.maxSkill(1111007);
			player.maxSkill(1110000); //End of 3rd job skills
			player.maxSkill(1121000);
			player.maxSkill(1221000);
			player.maxSkill(1321000);
			player.maxSkill(2121000);
			player.maxSkill(2221000);
			player.maxSkill(2321000);
			player.maxSkill(3121000);
			player.maxSkill(3221000);
			player.maxSkill(4121000);
			player.maxSkill(4221000); //End of Maple Warrior // Also end of max-level "20" skills
			player.maxSkill(1321007);
			player.maxSkill(1320009);
			player.maxSkill(1320008);
			player.maxSkill(2321006);
			player.maxSkill(1220010);
			player.maxSkill(1221004);
			player.maxSkill(1221003);
			player.maxSkill(1100003); 
			player.maxSkill(1100002);
			player.maxSkill(1101007);
			player.maxSkill(1200003);
			player.maxSkill(1200002);
			player.maxSkill(1201007);
			player.maxSkill(1300003);
			player.maxSkill(1300002);
			player.maxSkill(1301007);
			player.maxSkill(2101004);
			player.maxSkill(2101005);
			player.maxSkill(2201004);
			player.maxSkill(2201005);
			player.maxSkill(2301002);
			player.maxSkill(2301005);
			player.maxSkill(3101005);
			player.maxSkill(3201005);
			player.maxSkill(4100001);
			player.maxSkill(4101005);
			player.maxSkill(4201005);
			player.maxSkill(4201004);
			player.maxSkill(1111006);
			player.maxSkill(1111005);
			player.maxSkill(1111002);
			player.maxSkill(1111004);
			player.maxSkill(1111003);
			player.maxSkill(1111008);
			player.maxSkill(1211006);
			player.maxSkill(1211002);
			player.maxSkill(1211004);
			player.maxSkill(1211003);
			player.maxSkill(1211005);
			player.maxSkill(1211008);
			player.maxSkill(1211007);
			player.maxSkill(1311004);
			player.maxSkill(1311003);
			player.maxSkill(1311006);
			player.maxSkill(1311002);
			player.maxSkill(1311005);
			player.maxSkill(1311001);
			player.maxSkill(2110001);
			player.maxSkill(2111006);
			player.maxSkill(2111002);
			player.maxSkill(2111003);
			player.maxSkill(2210001);
			player.maxSkill(2211006);
			player.maxSkill(2211002);
			player.maxSkill(2211003);
			player.maxSkill(2311003);
			player.maxSkill(2311002);
			player.maxSkill(2311004);
			player.maxSkill(2311006);
			player.maxSkill(3111004);
			player.maxSkill(3111003);
			player.maxSkill(3111005);
			player.maxSkill(3111006);
			player.maxSkill(3211004);
			player.maxSkill(3211003);
			player.maxSkill(3211005);
			player.maxSkill(3211006);
			player.maxSkill(4111005);
			player.maxSkill(4111006);
			player.maxSkill(4111004);
			player.maxSkill(4111002);
			player.maxSkill(4211002);
			player.maxSkill(4211004);
			player.maxSkill(4211001);
			player.maxSkill(4211006);
			player.maxSkill(1120004);
			player.maxSkill(1120003);
			player.maxSkill(1121008);
			player.maxSkill(1121010);
			player.maxSkill(1121006);
			player.maxSkill(1121002);
			player.maxSkill(1220005);
			player.maxSkill(1221009);
			player.maxSkill(1221007);
			player.maxSkill(1221011);
			player.maxSkill(1221002);
			player.maxSkill(1320005);
			player.maxSkill(1320006);
			player.maxSkill(1321003);
			player.maxSkill(1321002);
			player.maxSkill(2121005);
			player.maxSkill(2121003);
			player.maxSkill(2121004);
			player.maxSkill(2121002);
			player.maxSkill(2121007);
			player.maxSkill(2121006);
			player.maxSkill(2221007);
			player.maxSkill(2221006);
			player.maxSkill(2221003);
			player.maxSkill(2221005);
			player.maxSkill(2221004);
			player.maxSkill(2221002);
			player.maxSkill(2321007);
			player.maxSkill(2321003);
			player.maxSkill(2321008);
			player.maxSkill(2321005);
			player.maxSkill(2321004);
			player.maxSkill(2321002);
			player.maxSkill(3120005);
			player.maxSkill(3121008);
			player.maxSkill(3121003);
			player.maxSkill(3121007);
			player.maxSkill(3121006);
			player.maxSkill(3121002);
			player.maxSkill(3121004);
			player.maxSkill(3221006);
			player.maxSkill(3220004);
			player.maxSkill(3221003);
			player.maxSkill(3221005);
			player.maxSkill(3221001);
			player.maxSkill(3221002);
			player.maxSkill(4121004);
			player.maxSkill(4121008);
			player.maxSkill(4121003);
			player.maxSkill(4121006);
			player.maxSkill(4121007);
			player.maxSkill(4120005);
			player.maxSkill(4221001);
			player.maxSkill(4221007);
			player.maxSkill(4221004);
			player.maxSkill(4221003);
			player.maxSkill(4221006);
			player.maxSkill(4220005);
			player.maxSkill(1221001); 
			player.maxSkill(1121001);
			player.maxSkill(1321001);
			player.maxSkill(2121001);
			player.maxSkill(2221001);
			player.maxSkill(2321001);
				
player.maxSkill(9001000); //Haste (Normal)
player.maxSkill(9001001); //Super Dragon Roar
player.maxSkill(9001002); //Teleport
player.maxSkill(9101000); //Heal + Dispel
player.maxSkill(9101001); //Haste (Super)
player.maxSkill(9101002); //Holy Symbol
player.maxSkill(9101003); //Bless
player.maxSkill(9101004); //Hide
player.maxSkill(9101005); //Resurrection
player.maxSkill(9101006); //Super Dragon Roar
player.maxSkill(9101007); //Teleport
player.maxSkill(9101008); //Hyper Body
player.maxSkill(10000012); // Blessing of the Spirit
player.maxSkill(10001000); // Three Snails
player.maxSkill(10001001); // Recovery
player.maxSkill(10001002); // Nimble Feet
// player.maxSkill(10001003); // Legendary Spirit
player.maxSkill(10001004); // Monster Rider
player.maxSkill(10001005); // Echo of Hero
player.maxSkill(11000000); // Improving MaxHP Increase
player.maxSkill(11001001); // Iron Body
player.maxSkill(11001002); // Power Strike
player.maxSkill(11001003); // Slash Blast
player.maxSkill(11001004); // Soul
player.maxSkill(12000000); // Improving Max MP Increase
player.maxSkill(12001001); // Magic Guard
player.maxSkill(12001002); // Magic Armor
player.maxSkill(12001003); // Magic Claw
player.maxSkill(12001004); // Flame
player.maxSkill(13000000); // Critical Shot
player.maxSkill(13000001); // The Eye of Amazon
player.maxSkill(13001002); // Focus
player.maxSkill(13001003); // Double Shot
player.maxSkill(13001004); // Storm
player.maxSkill(14000000); // Nimble Body
player.maxSkill(14000001); // Keen Eyes
player.maxSkill(14001002); // Disorder
player.maxSkill(14001003); // Dark Sight
player.maxSkill(14001004); // Lucky Seven
player.maxSkill(14001005); // Darkness
player.maxSkill(15000000); // Bullet Time
player.maxSkill(15001001); // Flash Fist
player.maxSkill(15001002); // Sommersault Kick
player.maxSkill(15001003); // Dash
player.maxSkill(15001004); // Lightning
player.maxSkill(11100000); // Sword Mastery
player.maxSkill(11101001); // Sword Booster
player.maxSkill(11101002); // Final Attack : Sword
player.maxSkill(11101003); // Rage
player.maxSkill(11101004); // Soul Blade
player.maxSkill(11101005); // Soul Rush
player.maxSkill(12101000); // Meditation
player.maxSkill(12101001); // Slow
player.maxSkill(12101002); // Flame Arrow
player.maxSkill(12101003); // Teleport
player.maxSkill(12101004); // Spell Booster
player.maxSkill(12101005); // Elemental Reset
player.maxSkill(12101006); // Fire Filar
player.maxSkill(13100000); // Bow Mastery
player.maxSkill(13100004); // Thrust
player.maxSkill(13101001); // Bow Booster
player.maxSkill(13101002); // Final Attack : Bow
player.maxSkill(13101003); // Soul Arrow : Bow
player.maxSkill(13101005); // Storm Brakes
player.maxSkill(13101006); // Wind Walk
player.maxSkill(14100000); // Claw Mastery
player.maxSkill(14100001); // Critical Throw
player.maxSkill(14100005); // Vanish
player.maxSkill(14101002); // Claw Booster
player.maxSkill(14101003); // Haste
player.maxSkill(14101004); // Flash Jump
player.maxSkill(14101006); // Vampire
player.maxSkill(15100000); // Improve MaxHP
player.maxSkill(15100001); // Knuckle Mastery
player.maxSkill(15100004); // Energy Charge
player.maxSkill(15101002); // Knuckle Booster
player.maxSkill(15101003); // Corkscrew Blow
player.maxSkill(15101005); // Energy Blast
player.maxSkill(15101006); // Lightning Charge
player.maxSkill(11110000); // Improving MP Recovery
player.maxSkill(11110005); // Advance Combo
player.maxSkill(11111001); // Combo Attack
player.maxSkill(11111002); // Sword: Panic
player.maxSkill(11111003); // Sword: Coma
player.maxSkill(11111004); // Brandish
player.maxSkill(11111006); // Soul Blow
player.maxSkill(11111007); // Soul Charge
player.maxSkill(12110000); // Elemental Resistance
player.maxSkill(12110001); // Element Amplification
player.maxSkill(12111002); // Seal
player.maxSkill(12111003); // Meteo
player.maxSkill(12111004); // Ifrit
player.maxSkill(12111005); // Flame Gear
player.maxSkill(12111006); // Fire Strike
player.maxSkill(13110003); // Bow Expert
player.maxSkill(13111000); // Arrow Rain
player.maxSkill(13111001); // Strafe
player.maxSkill(13111002); // Hurricane
player.maxSkill(13111004); // Puppet
player.maxSkill(13111005); // Albatross
player.maxSkill(13111006); // Wind Piercing
player.maxSkill(13111007); // Wind Shot
player.maxSkill(14110003); // Alchemist
player.maxSkill(14110004); // Venom
player.maxSkill(14111000); // Shadow Partner
player.maxSkill(14111001); // Shadow Web
player.maxSkill(14111002); // Avenger
player.maxSkill(14111005); // Triple Throw
player.maxSkill(14111006); // Poison Bomb
player.maxSkill(15110000); // Critical Punch
player.maxSkill(15111001); // Energy Drain
player.maxSkill(15111002); // Transformation
player.maxSkill(15111003); // Shockwave
player.maxSkill(15111004); // Barrage
player.maxSkill(15111005); // Speed Infusion
player.maxSkill(15111006); // Spark
player.maxSkill(15111007); // Shark Wave
player.maxSkill(21000000);
player.maxSkill(21000002);
player.maxSkill(21001001);
player.maxSkill(21001003);
player.maxSkill(21100000);
player.maxSkill(21100001);
player.maxSkill(21100002);
player.maxSkill(21100004);
player.maxSkill(21100005);
player.maxSkill(21101003);
player.maxSkill(21110000);
player.maxSkill(21110002);
player.maxSkill(21110003);
player.maxSkill(21110004);
player.maxSkill(21110006);
player.maxSkill(21110007);
player.maxSkill(21110008);
player.maxSkill(21111001);
player.maxSkill(21111005);
player.maxSkill(21120001);
player.maxSkill(21120002);
player.maxSkill(21120004);
player.maxSkill(21120005);
player.maxSkill(21120006);
player.maxSkill(21120007);
player.maxSkill(21120009);
player.maxSkill(21120010);
player.maxSkill(21121000);
player.maxSkill(21121003);
player.maxSkill(21121008);
                }
                else{
                        npc.addText("#eIt was nice having buniess with you!");
                        npc.sendOK();
                        npc.end();
          }
     }
}